/*仪表盘响应式*/
@media screen and (min-width: 992px) {
  .layui-col-sm12 + .layui-col-sm12 {
    padding-left: 10px;
  }
}

@media screen and (max-width: 992px){
  .card {
    margin-bottom: 10px;
  }
  .title-info {
    margin-top: 10px;
  }
  .layui-col-sm12 {
    margin-bottom: 10px;
  }
}

.layui-table-cell .layui-btn+.layui-btn {
  margin-left: 5px;
}

.layer-dialog {
  padding: 20px 18px 5px;
}

.layer-dialog-from {
  padding: 20px 25px 5px 0;
}

.form-label-left .layui-form-label {
  text-align: left!important;
}

.text-muted {
  color: #777777;
}
.clearfix {
  overflow: hidden;
}
.clearfix::before {
  clear: both;
}
.clearfix::after {
  clear: both;
}
.float-right{float: right;position: relative;}
.float-left{float: left;position: relative;}

/*解决下拉框在内部问题*/
.layui-layer-content {
  overflow: inherit!important;
}

.width-100 {
  width: 100px;
}

.width-120 {
  width: 120px;
}

.height-32 {
  height: 32px;
}

@font-face {
  font-family: yyuan;
  src: url("zt.otf");
}

.flex {
  display: flex;
}

.all-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.font-yy {
  font-family: yyuan, serif;
}

body {
  background-color: #f2f7f9;
}

.header-nav {
  background: linear-gradient(90deg, #00e4d0, #5983e8, #8b35e8);
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 62px;
  z-index: 100;
}

.header-tools .layui-input {
  height: 32px !important;
}

.navbar-nav {
  list-style: none;
  display: flex;
  justify-content: right;
  padding: 0 15px;
}

.navbar-nav-right {
  margin-left: auto;
}

.navbar-nav > li a {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  color: #fff;
}

.navbar-nav > li:hover {
  background-color: rgba(26, 213, 168, 0.28);
}

.navbar-nav > li span {
  margin-left: 5px;
}

.aside {
  position: fixed;
  left: 0;
  top: 0;
  width: 210px;
  height: 100vh;
  background-color: #fff;
  z-index: 101;
  overflow: auto;
}

.aside ul {
  margin-bottom: 15px;
}

.aside-top {
  height: 62px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aside-user {
  margin: 12px auto 20px;
}

.aside-user .image {
  flex-direction: column;
}

.aside-user .image img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.aside-user .image > div {
  color: #646464;
  font-weight: 500;
}

.aside-nav {
  flex-direction: column;
  flex-wrap: nowrap;
}

.aside-nav .nav-item > a {
  align-items: center;
  display: flex;
  padding: 16px 25px;
  white-space: nowrap;
  color: #4a4a4a;
}

.aside-nav .nav-item > a:hover, .nav-item .nav-item-menu .menu-item > a:hover {
  background-color: #f9f9f9;
}

.nav-item.active a, .menu-item.active a {
  color: #21a1cf!important;
}

.aside-nav .nav-item > a i:first-child {
  margin-right: 1.25rem;
}

i.end {
  margin-left: 1.5rem;
}

.nav-item .nav-item-menu {
  display: none;
}

.nav-item .nav-item-menu .menu-item > a {
  display: flex;
  align-items: center;
  padding: 12px 72px;
  white-space: nowrap;
  color: #525252;
}

.nav-item .nav-item-menu .menu-item > a:hover {
  color: #8d8d8d;
}

.menu-active {
  background-color: #f9f9f9;
}

.menu-active .nav-item-menu {
  display: block;
}

.aside-nav .nav-item .layui-icon-down {
  display: none;
}

.aside-nav .menu-active .layui-icon-right {
  display: none;
}

.aside-nav .menu-active .layui-icon-down {
  display: block;
}

.content-body {
  position: relative;
  padding-top: 62px;
  padding-left: 210px;
}

.body-wrapper {
  padding: 18px 18px 0;
}

.body-wrapper .layui-card-header {
  height: 50px;
  line-height: 50px;
}

.layui-card-header .card-title {
  float: left;
  color: #6d6b6b;
}

.layui-card-header .header-tools {
  float: right;
}

/*仪表盘*/
.card {
  position: relative;
  margin: 0 10px;
  word-wrap: break-word;
  background-color: #fff;
  border-radius: 2px;
}

@media screen and (max-width: 992px) {
  .card {
    margin-bottom: 10px;
  }
}

.card-body {
  padding: 28px 26px;
}

.card-body .val {
  font-size: 25px;
  text-align: right;
}

.card-body p {
  text-align: right;
  margin-top: 18px;
  font-size: 12px;
}

.card-body p > i {
  font-size: 12px;
}

.card-body .icon-user, .card-body .icon-video, .card-body .icon-chat,
.card-body .icon-visitor, .card-body .icon-merchant, .card-body .icon-group, .card-body .icon-home {
  padding: 10px;
  font-size: 55px;
  color: #e65251;
}
.card-body .icon-video, .card-body .icon-chat {
  color: #ffaf00;
}
.card-body .icon-visitor, .card-body .icon-home{
  color: #8862e0;
}

.card-body .icon-merchant {
  color: #62e0af;
}
.card-body .icon-group {
  color: #ff5722;
}


/*主页大图*/
.img-box {
  position: relative;
  margin: 0 10px 15px;
  word-wrap: break-word;
  background-color: #fff;
  border-radius: 2px;
}

.img-add-btn {
  display: flex;
  justify-content: space-between;
  align-content: center;
  flex-direction: column;
  width: inherit;
  text-align: center;
  cursor: pointer;
}

.img-add-btn .icon {
  padding: 10px;
}
.img-add-btn .tip {
  padding-bottom: 10px;
}

.img-add-btn .icon i {
  font-size: 90px;
}

.img-add-btn .tip i {
  font-size: 14px;
}

.img-box .img-preview {
  padding: 8px 0;
  text-align: center;
}

.img-box .img-preview img {
  width: 95%;
  border-radius: 5px;
}

.img-box .img-tools {
  text-align: center;
  padding-bottom: 10px;
}

.img-box .img-tools .layui-btn {
  margin-left: 2px;
}

/*仪表盘*/
.title-info {
  margin: 20px 10px;
}

.title-info .layui-form-label {
  width: 90px;
}

.title-info .layui-input-block {
  margin-left: 120px;
}

.badge-btn {
  cursor: pointer;
  margin-right: 5px;
}

.layui-form-unit {
  color: #999999;
  height: 100%;
  padding: 0 10px;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hide-link {
  text-overflow: ellipsis;
  overflow: hidden;
}